Bentley Map V8i (SELECTseries 10) Help

Importing Linear and Polygon Features

This method can be used to import linear and polygon features however some editing of the source data may have to be done. The coordinates are to be listed in WKT format. The files defined above can be used with the following changes:

For linear data, set the geometry to wkbLineString as below:

       <GeometryType>wkbLineString</GeometryType>

Set the geometry field as below:

<GeometryField encoding="WKT" field="wkt"/>

Sample input would be as below. Coordinates are listed as XY pairs separated by spaces with commas separating each coordinate pair.

Name, wkt 
Linestring, "LINESTRING(0 0, 0 1, 1 1, 1 0)"

For polygon data set the geometry to wkbPolygon as below:

 <GeometryType>wkbPolygon</GeometryType>

Set the geometry field as below:

<GeometryField encoding="WKT" field="wkt"/>

Sample input would be as below. Coordinates are listed as XY pairs separated by spaces with commas separating each coordinate pair.

Name, wkt 
Box, "POLYGON((0 0, 0 1, 1 1, 1 0))"

Further details about WKT formats can be found at: